package com.bos.dao;

import com.bos.domain.Sekolah;
import com.bos.util.enums.JenjangSekolah;
import org.springframework.dao.DataAccessException;

import javax.persistence.EntityNotFoundException;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: Latief
 * Date: 3/15/11
 * Time: 8:46 PM
 * To change this template use File | Settings | File Templates.
 */
public interface SekolahDAO extends GenericDAO<Sekolah>{

    public Sekolah findByNpsn(String npsn) throws DataAccessException, EntityNotFoundException;
    public List<Sekolah> findByJenjangSekolah(JenjangSekolah jenjangSekolah)   throws DataAccessException, EntityNotFoundException;
}
